//引入 redux
import { createStore, applyMiddleware } from 'redux'

//引入countReducer
import countReducer from './reducers/countReducer'
import thunk from 'redux-thunk'
console.log('store调用了');
//关联
const store = createStore(countReducer,applyMiddleware(thunk))

export default store